<template>
  <div>
    <h3>Test组件</h3>
    <van-button type="primary" @click="showNum">主要按钮</van-button><br>
    <van-area title="标题" :area-list="areaList" v-model="value" columns-num="3"/>
  </div>
</template>

<script>
import { areaList } from '@vant/area-data';
export default {
  setup() {
    const value = ''
    return { areaList, value }
  },
  methods: {
    showNum() {
      console.log(this.value)
    }
  }
}
</script>

<style>

</style>